<%= show_info %>

<h1 style="text-align:center">Public catalogs</h1>

<% if(@catalogs.size > 0 ) -%>
 <div class="thumbnail_container">

<div class="spacer"> &nbsp </div>
<% for catalog in @catalogs %>
  <div class="thumbnail">
    <p>
      <%= link_to (        
          image_tag("/user/catalog/get_folder_picture?", :size => "100x100", :alt => "Loading"), 
          :controller => '/user/catalog', :action => 'list', :id => catalog) %>
    </p>
    <p><%= h(catalog.name) %></p>
  </div>
<div class="spacer"> &nbsp </div>
<% end %>

</div>
<% end -%>

<%= will_paginate(@catalogs) %>